import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.border.LineBorder;
import java.awt.Color;
//import java.util.Timer;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.*;

/*This is where almost everything is made.
 * it is actually passed to almost all other ui's 
 * so that they can use each other's method
 * */
public class BoardUi extends JFrame {

	public JPanel contentPane;
	public Player[] pl;
	public Block[] bl;
	private CommunityCards commCards;
	private ChanceCards chanceCards;
	public Card[] cards;
	private int playerQueue;
	public Player currentPlayer;
	private JPanel panelBGD;
	private int limit;
	private Timer stir;
	private diceUI d;
	private GamebuttonUi g;
	private playerPanelUi p;
	private PropertyUI prop;
	private RailUI rail;
	private TaxUI tax;
	private GoUI go;
	private JailUI jail;
	private FreeParkingUI freeparking;
	private JustVisitingUI justvisiting;
	private UtilityUI utility;
	private ChanceUI chance;
	private CommunityChestUI communitychest;
	private GoToJailUI gotojail;
	
	private JLabel [] player0;
	private JLabel [] player1;
	private JLabel [] player2;
	private JLabel [] player3;
	private JLabel [] player4;
	private JLabel [] player5;
	private JLabel [] player6;
	private JLabel [] player7;
	
	private JPanel [] Block;
	
	public BoardUi(Player[] player) {
		setResizable(true);
		this.pl = player;
		this.bl = new Block[41];
		this.playerQueue = 0;
		this.currentPlayer = pl[getPlayerQueue()];
		
		fillBlockArray();
		
		this.Block = new JPanel[41];
		this.player0= new JLabel[41];
		this.player1 = new JLabel[41];
		this.player2 = new JLabel[41];
		this.player3 = new JLabel[41];
		this.player4 = new JLabel[41];
		this.player5 = new JLabel[41];
		this.player6 = new JLabel[41];
		this.player7 = new JLabel[41];
		
		setTitle("MonoFilpoly Board Game");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 1021, 581);
		contentPane = new JPanel();
		contentPane.setBackground(new Color(224, 255, 255));
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		d = new diceUI(this);		//dice ui
		p = new playerPanelUi(this.pl.length, pl, this, this.bl);		//player info ui
		g = new GamebuttonUi(this,p);	//gamebutton ui
		p.setBorder(new LineBorder(new Color(0, 0, 0), 2));
		
		panelBGD = new JPanel();
		panelBGD.setBorder(new LineBorder(new Color(0, 0, 0), 2));
		panelBGD.setBackground(new Color(72, 209, 204));
		panelBGD.setBounds(0, 0, 564, 548);
		contentPane.add(panelBGD);
		panelBGD.setLayout(null);
		
		contentPane.add(d);
		d.setVisible(true);
		d.setBounds(564, 0,149, 165);
		
		contentPane.add(p);
		p.setVisible(true);
		p.setBounds(564, 187, 450, 349); 
		
		contentPane.add(g);
		g.setVisible(true);
		g.setBounds(714, 0, 300, 165);
		//----------------------------------------------------------------------------------------Block 0
		
		Block[0] = new JPanel();
		Block[0].setBounds(478, 462, 74, 76);
		Block[0].setLayout(null);
		Block[0].setVisible(true);
		Block[0].setOpaque(false);
		panelBGD.add(Block[0]);  
		
		//--------------------------------------------------BLOCK 1	
		Block[1] = new JPanel();
		Block[1].setBounds(433, 462, 46, 76);
		Block[1].setLayout(null);
		Block[1].setOpaque(false);

		panelBGD.add(Block[1]);
		
		//------------------------------------------------------------------------------------------------BLOCK 2
		Block[2] = new JPanel();
		Block[2].setBounds(388, 462, 46, 76);
		Block[2].setLayout(null);
		Block[2].setOpaque(false);

		panelBGD.add(Block[2]);
		//-----------------------------------------------------------------------------------------Block 3
		Block[3] = new JPanel();
		Block[3].setBounds(343, 462, 46, 76);
		Block[3].setLayout(null);
		Block[3].setOpaque(false);

		panelBGD.add(Block[3]);
		
		//--------------------------------------------------------------------------------------Block4
		Block[4] = new JPanel();
		Block[4].setBounds(298, 462, 46, 76);
		Block[4].setLayout(null);
		Block[4].setOpaque(false);

		panelBGD.add(Block[4]);
		//----------------------------------------------------------------------------------------Block5
		Block[5] = new JPanel();
		Block[5].setBounds(253, 462, 46, 76);
		Block[5].setLayout(null);
		Block[5].setOpaque(false);

		panelBGD.add(Block[5]);

		//----------------------------------------------------------------------------------------Block6
		Block[6] = new JPanel();
		Block[6].setBounds(208, 462, 46, 76);
		Block[6].setLayout(null);
		Block[6].setOpaque(false);

		panelBGD.add(Block[6]);
		//----------------------------------------------------------------------------------------Block7
		Block[7] = new JPanel();
		Block[7].setBounds(163, 462, 46, 76);
		Block[7].setLayout(null);
		Block[7].setOpaque(false);

		panelBGD.add(Block[7]);
		//----------------------------------------------------------------------------------------Block8
		Block[8] = new JPanel();
		Block[8].setBounds(118, 462, 46, 76);
		Block[8].setLayout(null);
		Block[8].setOpaque(false);

		panelBGD.add(Block[8]);
		//-------------------------------------------------------------------------------------Block9
		Block[9] = new JPanel();
		Block[9].setBounds(73, 462, 46, 76);
		Block[9].setLayout(null);
		Block[9].setOpaque(false);

		panelBGD.add(Block[9]);
		//---------------------------------------------------------------------------------------Block10
		Block[10] = new JPanel();
		Block[10].setBounds(0, 462, 74, 76);
		Block[10].setLayout(null);
		Block[10].setOpaque(false);

		panelBGD.add(Block[10]);
		
		//---------------------------------------------------------------------------------------Block11
		Block[11] = new JPanel();
		Block[11].setLayout(null);
		Block[11].setBounds(0, 419, 74, 44);
		Block[11].setOpaque(false);

		panelBGD.add(Block[11]);
		//---------------------------------------------------------------------------------------Block12
		Block[12] = new JPanel();
		Block[12].setLayout(null);
		Block[12].setBounds(0, 376, 74, 44);
		Block[12].setOpaque(false);

		panelBGD.add(Block[12]);
		//---------------------------------------------------------------------------------------Block13
		Block[13] = new JPanel();
		Block[13].setLayout(null);
		Block[13].setBounds(0, 333, 74, 44);
		Block[13].setOpaque(false);

		panelBGD.add(Block[13]);
		//------------------------------------------------------------------------------------------Block 14
		Block[14] = new JPanel();
		Block[14].setLayout(null);
		Block[14].setBounds(0, 290, 74, 44);
		Block[14].setOpaque(false);

		panelBGD.add(Block[14]);
		//---------------------------------------------------------------------------------------Block15
		Block[15] = new JPanel();
		Block[15].setLayout(null);
		Block[15].setBounds(0, 247, 74, 44);
		Block[15].setOpaque(false);

		panelBGD.add(Block[15]);
		//------------------------------------------------------------------------------------------Block16
		Block[16] = new JPanel();
		Block[16].setLayout(null);
		Block[16].setBounds(0, 204, 74, 44);
		Block[16].setOpaque(false);

		panelBGD.add(Block[16]);
		//------------------------------------------------------------------------------------------Block17
		Block[17] = new JPanel();
		Block[17].setLayout(null);
		Block[17].setBounds(0, 161, 74, 44);
		Block[17].setOpaque(false);

		panelBGD.add(Block[17]);

		//------------------------------------------------------------------------------------------Block18
		Block[18] = new JPanel();
		Block[18].setLayout(null);
		Block[18].setBounds(0, 118, 74, 44);
		Block[18].setOpaque(false);

		panelBGD.add(Block[18]);
		
		//------------------------------------------------------------------------------------------Block19
		Block[19] = new JPanel();
		Block[19].setLayout(null);
		Block[19].setBounds(0, 75, 74, 44);
		Block[19].setOpaque(false);

		panelBGD.add(Block[19]);
		
		//------------------------------------------------------------------------------------------Block20
		Block[20] = new JPanel();
		Block[20].setLayout(null);
		Block[20].setBounds(0, 0, 74, 76);
		Block[20].setOpaque(false);

		panelBGD.add(Block[20]);
	
		//---------------------------------------------------------------------------------------Block21
		Block[21] = new JPanel();
		Block[21].setLayout(null);
		Block[21].setBounds(73, 0, 46, 76);
		Block[21].setOpaque(false);

		panelBGD.add(Block[21]);
		
		//---------------------------------------------------------------------------------------Block22
		Block[22] = new JPanel();
		Block[22].setLayout(null);
		Block[22].setBounds(118, 0, 46, 76);
		Block[22].setOpaque(false);

		panelBGD.add(Block[22]);
		
		//---------------------------------------------------------------------------------------Block23
		Block[23] = new JPanel();
		Block[23].setLayout(null);
		Block[23].setBounds(163, 0, 46, 76);
		Block[23].setOpaque(false);

		panelBGD.add(Block[23]);
		
		//---------------------------------------------------------------------------------------Block24
		Block[24] = new JPanel();
		Block[24].setLayout(null);
		Block[24].setBounds(208, 0, 46, 76);
		Block[24].setOpaque(false);

		panelBGD.add(Block[24]);
		
		//---------------------------------------------------------------------------------------Block25
		Block[25] = new JPanel();
		Block[25].setLayout(null);
		Block[25].setBounds(253, 0, 46, 76);
		Block[25].setOpaque(false);

		panelBGD.add(Block[25]);
		
		//---------------------------------------------------------------------------------------Block26
		Block[26] = new JPanel();
		Block[26].setLayout(null);
		Block[26].setBounds(298, 0, 46, 76);
		Block[26].setOpaque(false);

		panelBGD.add(Block[26]);
		
		//---------------------------------------------------------------------------------------Block27
		Block[27] = new JPanel();
		Block[27].setLayout(null);
		Block[27].setBounds(343, 0, 46, 76);
		Block[27].setOpaque(false);

		panelBGD.add(Block[27]);
	
		//---------------------------------------------------------------------------------------Block28
		Block[28] = new JPanel();
		Block[28].setLayout(null);
		Block[28].setBounds(388, 0, 46, 76);
		Block[28].setOpaque(false);

		panelBGD.add(Block[28]);
		
		//---------------------------------------------------------------------------------------Block 29
		Block[29] = new JPanel();
		Block[29].setLayout(null);
		Block[29].setBounds(433, 0, 46, 76);
		Block[29].setOpaque(false);

		panelBGD.add(Block[29]);
	
		//---------------------------------------------------------------------------------------Block30
		Block[30] = new JPanel();
		Block[30].setLayout(null);
		Block[30].setBounds(478, 0, 74, 76);
		Block[30].setOpaque(false);

		panelBGD.add(Block[30]);
	
		//---------------------------------------------------------------------------------------Block31
		Block[31] = new JPanel();
		Block[31].setLayout(null);
		Block[31].setBounds(478, 75, 74, 44);
		Block[31].setOpaque(false);

		panelBGD.add(Block[31]);
	
		//---------------------------------------------------------------------------------------Block32
		Block[32] = new JPanel();
		Block[32].setLayout(null);
		Block[32].setBounds(478, 118, 74, 44);
		Block[32].setOpaque(false);

		panelBGD.add(Block[32]);
		
		//---------------------------------------------------------------------------------------Block33
		Block[33] = new JPanel();
		Block[33].setLayout(null);
		Block[33].setBounds(478, 161, 74, 44);
		Block[33].setOpaque(false);

		panelBGD.add(Block[33]);
		
		//---------------------------------------------------------------------------------------Block34
		Block[34] = new JPanel();
		Block[34].setLayout(null);
		Block[34].setBounds(478, 204, 74, 44);
		Block[34].setOpaque(false);

		panelBGD.add(Block[34]);
		
		//---------------------------------------------------------------------------------------Block35
		Block[35] = new JPanel();
		Block[35].setLayout(null);
		Block[35].setBounds(478, 247, 74, 44);
		Block[35].setOpaque(false);

		panelBGD.add(Block[35]);
		
		//---------------------------------------------------------------------------------------Block36
		Block[36] = new JPanel();
		Block[36].setLayout(null);
		Block[36].setBounds(478, 290, 74, 44);
		Block[36].setOpaque(false);

		panelBGD.add(Block[36]);
		
		//---------------------------------------------------------------------------------------Block37
		Block[37] = new JPanel();
		Block[37].setLayout(null);
		Block[37].setBounds(478, 333, 74, 44);
		Block[37].setOpaque(false);

		panelBGD.add(Block[37]);
		
		//---------------------------------------------------------------------------------------Block38
		Block[38] = new JPanel();
		Block[38].setLayout(null);
		Block[38].setBounds(478, 376, 74, 44);
		Block[38].setOpaque(false);

		panelBGD.add(Block[38]);
		
		//---------------------------------------------------------------------------------------Block39
		Block[39] = new JPanel();
		Block[39].setBounds(478, 419, 74, 44);
		Block[39].setLayout(null);
		Block[39].setOpaque(false);

		panelBGD.add(Block[39]);
		
		//----------------------------------------------------------------------------------------------Block 40
		Block[40] = new JPanel();
		Block[40].setBounds(0, 462, 74, 76);
		Block[40].setLayout(null);
		Block[40].setOpaque(false);

		panelBGD.add(Block[40]);
			
		JLabel lblBoard = new JLabel("");
		lblBoard.setBounds(0, -11, 564, 560);
		panelBGD.add(lblBoard);
		lblBoard.setIcon(new ImageIcon(BoardUi.class.getResource("/images/BOARD.JPG")));
		
		for(int i=0; i<this.pl.length; i++){
			activeTokens(i); 
		}
	}
	
	public void fillBlockArray(){
		for(int i= 0; i < this.bl.length; i++ ){
			 
			if ( i == 0){ //type casting																																		
				bl[i] = new Go(i); 
			}else if( i == 1 ) {
				bl[i] = new Property(i,"Rizal", 60,2 ,10 ,30 ,90 ,160 ,250 ,1, 30, 0, 50, 50,false, "/TitleDeeds/Rizal.jpg",2);
			}else if( i == 2) {
				bl[i] = new CommunityChest(i, cards);
			}else if(i == 3){
				bl[i] = new Property(i,"LapuLapu", 60,4 ,20 ,60 ,180 ,320 ,250 ,1, 30, 0, 50, 50,false, "/TitleDeeds/LapuLapu.jpg",2);
			}else if(i == 4){
				bl[i] = new Tax(i, 200, "Income Tax","/TitleDeeds/IncomeUi.jpg", 1);
			}else if (i == 5){
				bl[i] = new Rail(i ,200, 100, 25, 50, 100, 200,"MRT1","/TitleDeeds/MRT1.jpg",1, 4);
			}else if (i == 6){
				bl[i] = new Property(i,"8Waves",100, 6 ,30 ,90 ,270 ,400 ,550 ,2, 50, 0, 50, 50,false, "/TitleDeeds/8Waves.jpg",3);
			}else if (i == 7){
				bl[i] = new Chance(i, cards);
			}else if (i == 8){
				bl[i] = new Property(i,"Regency",100, 6 ,30 ,90 ,270 ,400 ,550 ,2, 50, 0, 50, 50,false, "/TitleDeeds/Regency.JPG",3);
			}else if (i == 9){
				bl[i] = new Property(i,"SplashIsland",120, 8, 40, 100, 300, 450, 600, 2, 60, 0, 50, 50, false, "/TitleDeeds/SplashIsland.jpg",3);
			}else if (i == 10){
				bl[i] = new JustVisiting(i);
			}else if (i == 11){
				bl[i] = new Property(i,"Dusit",140, 10, 50, 150, 450, 625, 750, 3, 70, 0, 100, 100, false,"/TitleDeeds/Dusit.jpg",3);
			}else if (i == 12){
				bl[i] = new Utility(i,150, 75,1, "Meralco","/TitleDeeds/Meralco.jpg",2,2);
			}else if (i == 13){
				bl[i] = new Property(i,"New World",140, 10, 50, 150, 450, 625, 750, 3, 70, 0, 100, 100, false,"/TitleDeeds/NewWorld.jpg",3);
			}else if (i == 14){
				bl[i] = new Property(i,"Shangrila",160, 12, 60, 180, 500, 700, 900, 3, 80,0, 100, 100, false,"/TitleDeeds/Shangrila.jpg",3);
			}else if (i == 15){
				bl[i] = new Rail(i , 200, 100, 25, 50, 100, 200,"MRT2","/TitleDeeds/MRT2.jpg",1, 4);
			}else if (i == 16){
				bl[i] = new Property(i,"Glorietta ",180, 14, 70, 200, 550, 750, 950, 4, 90, 0, 100, 100, false,"/TitleDeeds/glorietta.jpg",3);
			}else if (i == 17){
				bl[i] = new CommunityChest(i, cards);
			}else if (i == 18){
				bl[i] = new Property(i,"MOA ",180,14, 70, 200, 550, 750, 950, 4, 90, 0, 100, 100, false, "/TitleDeeds/Moa.jpg",3);
			}else if (i == 19){
				bl[i] = new Property(i,"SM ",200, 16, 80, 220, 600, 800, 1000, 4, 100, 0, 100,100, false,"/TitleDeeds/SM.jpg",3);
			}else if (i == 20){
				bl[i] = new FreeParking(i);
			}else if (i == 21){
				bl[i] = new Property(i,"Calatagan",220, 18, 90, 250, 700, 875, 1050, 5, 110, 0, 150, 150, false,"/TitleDeeds/Calatagan.jpg",3);
			}else if (i == 22){
				bl[i] = new Chance(i, cards); //bl[i] = new Chance(i, chanceCards);
			}else if (i == 23){
				bl[i] = new Property(i,"OceanAdventure ",220, 18, 90, 250, 700, 875, 1050, 5, 110, 0, 150, 150, false, "/TitleDeeds/OceanAdventure.jpg",3);
			}else if (i == 24){
				bl[i] = new Property(i,"Zoobic ",240, 20, 100, 300, 750, 925, 1100, 5, 120, 0, 150, 150, false, "TitleDeeds/Zoobic.jpg",3);
			}else if (i == 25){
				bl[i] = new Rail(i ,200, 100, 25, 50, 100, 200, "MRT3","/TitleDeeds/MRT3.jpg",1, 4);
			}else if (i == 26){
				bl[i] = new Property(i,"GreenBelt ",260, 22, 110, 330, 800, 975, 1150, 6, 130, 0, 150, 150, false,"TitleDeeds/Greenbelt.jpg",3);
			}else if (i == 27){
				bl[i] = new Property(i,"Sofitel ",260, 22, 110, 330, 800, 975, 1150, 6, 130, 0, 150, 150, false,"TitleDeeds/Sofitel.jpg",3);
			}else if (i == 28){
				bl[i] = new Utility(i, 150, 75, 1, "Maynilad","TitleDeeds/Maynilad.jpg",2,2);
			}else if (i == 29){
				bl[i] = new Property(i,"Trinoma ",280, 24, 120, 330, 850,1025, 1200, 6, 140, 0, 150, 150, false,"TitleDeeds/Trinoma.jpg",3);
			}else if (i == 30){
				bl[i] = new GoToJail(i);
			}else if (i == 31){
				bl[i] = new Property(i,"EastWood ",300, 26, 130, 390, 900, 1100, 1275, 7, 150, 0, 200, 200, false,"TitleDeeds/EastwoodMall.jpg",3);
			}else if (i == 32){
				bl[i] = new Property(i,"Robinsons ",300, 26, 130, 390, 900, 1100, 1275, 7, 150, 0, 200, 200, false,"TitleDeeds/Robinsons.jpg",3);
			}else if (i == 33){
				bl[i] = new CommunityChest(i, cards);
			}else if (i == 34){
				bl[i] = new Property(i,"Serendra ",320, 28, 150, 450, 1000, 1200, 1400, 7, 160, 0, 200, 200, false,"TitleDeeds/Serendra.jpg",3);
			}else if (i == 35){
				bl[i] = new Rail(i , 200, 100, 25, 50, 100, 200,"MRT4","/TitleDeeds/MRT4.jpg",1, 4);
			}else if (i == 36){
				bl[i] = new Chance(i, cards);
			}else if (i == 37){
				bl[i] = new Property(i,"EnchantedKingdom ",350, 35, 175, 500, 1100, 1300, 1500, 8, 175 ,0, 200, 200, false,"TitleDeeds/EnchantedKingdom.jpg",2);
			}else if (i == 38){
				bl[i] = new Tax(i, 75, "Luxury Tax","/TitleDeeds/LuxaryUi.jpg", 2);
			}else if (i == 39){
				bl[i] = new Property(i,"StarCity ",400, 50, 200, 600, 1400, 1700, 2000, 8, 200 ,0, 200, 200, false,"TitleDeeds/StarCity.jpg",2);
			}else if (i == 40){
				bl[i] = new InJail(i);
			}
	//		}else if (i ==7|| i ==22|| i== 36){
	//All Chance
    //		}else if (i ==2|| i ==17|| i== 33){
	//All Community Chest
	//		}
		 }
	}

	public void activeTokens(int count) {
		switch (count){
		
		case 0:
			player0[0] = new JLabel("");
			player0[0].setVisible(true);
			player0[0].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[0].setBounds(63, 62, 11, 14); 
			Block[0].add(player0[0]);
			
			player0[1] = new JLabel("");
			player0[1].setVisible(false);
			player0[1].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[1].setBounds(31, 62, 11, 14);
			Block[1].add(player0[1]);
			
			player0[2] = new JLabel("");
			player0[2].setVisible(false);
			player0[2].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[2].setBounds(31, 62, 11, 14);
			Block[2].add(player0[2]);
			
			player0[3] = new JLabel("");
			player0[3].setVisible(false);
			player0[3].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[3].setBounds(31, 62, 11, 14);
			Block[3].add(player0[3]);

			player0[4] = new JLabel("");
			player0[4].setVisible(false);
			player0[4].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[4].setBounds(31, 62, 11, 14);
			Block[4].add(player0[4]);
			
			player0[5] = new JLabel("");
			player0[5].setVisible(false);
			player0[5].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[5].setBounds(31, 62, 11, 14);
			Block[5].add(player0[5]);
			
			player0[6] = new JLabel("");
			player0[6].setVisible(false);
			player0[6].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[6].setBounds(31, 62, 11, 14);
			Block[6].add(player0[6]);
			
			player0[7] = new JLabel("");
			player0[7].setVisible(false);
			player0[7].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[7].setBounds(31, 62, 11, 14);
			Block[7].add(player0[7]);

			player0[8] = new JLabel("");
			player0[8].setVisible(false);
			player0[8].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[8].setBounds(31, 62, 11, 14);
			Block[8].add(player0[8]);
			
			player0[9] = new JLabel("");
			player0[9].setVisible(false);
			player0[9].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[9].setBounds(31, 62, 11, 14);
			Block[9].add(player0[9]);

			player0[10] = new JLabel("");
			player0[10].setVisible(false);
			player0[10].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[10].setBounds(31, 62, 11, 14);
			Block[10].add(player0[10]);

			player0[11] = new JLabel("");
			player0[11].setVisible(false);
			player0[11].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[11].setBounds(0, 30, 11, 14);
			Block[11].add(player0[11]);

			player0[12] = new JLabel("");
			player0[12].setVisible(false);
			player0[12].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[12].setBounds(0, 30, 11, 14);
			Block[12].add(player0[12]);
			
			player0[13] = new JLabel("");
			player0[13].setVisible(false);
			player0[13].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[13].setBounds(0, 30, 11, 14);
			Block[13].add(player0[13]);

			player0[14] = new JLabel("");
			player0[14].setVisible(false);
			player0[14].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[14].setBounds(0, 30, 11, 14);
			Block[14].add(player0[14]);

			player0[15] = new JLabel("");
			player0[15].setVisible(false);
			player0[15].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[15].setBounds(0, 30, 11, 14);
			Block[15].add(player0[15]);
			
			player0[16] = new JLabel("");
			player0[16].setVisible(false);
			player0[16].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[16].setBounds(0, 30, 11, 14);
			Block[16].add(player0[16]);
			
			player0[17] = new JLabel("");
			player0[17].setVisible(false);
			player0[17].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[17].setBounds(0, 30, 11, 14);
			Block[17].add(player0[17]);
			
			player0[18] = new JLabel("");
			player0[18].setVisible(false);
			player0[18].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[18].setBounds(0, 30, 11, 14);
			Block[18].add(player0[18]);
			
			player0[19] = new JLabel("");
			player0[19].setVisible(false);
			player0[19].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[19].setBounds(0, 30, 11, 14);
			Block[19].add(player0[19]);
			
			player0[20] = new JLabel("");
			player0[20].setVisible(false);
			player0[20].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[20].setBounds(0, 0, 11, 14);
			Block[20].add(player0[20]);
			
			player0[21] = new JLabel("");
			player0[21].setVisible(false);
			player0[21].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[21].setBounds(4, 0, 11, 14);
			Block[21].add(player0[21]);
			

			player0[22] = new JLabel("");
			player0[22].setVisible(false);
			player0[22].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[22].setBounds(0, 0, 11, 14);
			Block[22].add(player0[22]);
			
			player0[23] = new JLabel("");
			player0[23].setVisible(false);
			player0[23].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[23].setBounds(0, -3, 11, 14);
			Block[23].add(player0[23]);
			
			player0[24] = new JLabel("");
			player0[24].setVisible(false);
			player0[24].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[24].setBounds(0, 0, 11, 14);
			Block[24].add(player0[24]);
			
			player0[25] = new JLabel("");
			player0[25].setVisible(false);
			player0[25].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[25].setBounds(0, 0, 11, 14);
			Block[25].add(player0[25]);
			
			player0[26] = new JLabel("");
			player0[26].setVisible(false);
			player0[26].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[26].setBounds(0, 0, 11, 14);
			Block[26].add(player0[26]);
			
			player0[27] = new JLabel("");
			player0[27].setVisible(false);
			player0[27].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[27].setBounds(4, -3, 11, 14);
			Block[27].add(player0[27]);
			
			player0[28] = new JLabel("");
			player0[28].setVisible(false);
			player0[28].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[28].setBounds(0, 0, 11, 14);
			Block[28].add(player0[28]);
			
			player0[29] = new JLabel("");
			player0[29].setVisible(false);
			player0[29].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[29].setBounds(4, -3, 11, 14);
			Block[29].add(player0[29]);
			
			player0[30] = new JLabel("");
			player0[30].setVisible(false);
			player0[30].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[30].setBounds(32, 0, 11, 14);
			Block[30].add(player0[30]);
			
			player0[31] = new JLabel("");
			player0[31].setVisible(false);
			player0[31].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[31].setBounds(63, 30, 11, 14);
			Block[31].add(player0[31]);
			
			player0[32] = new JLabel("");
			player0[32].setVisible(false);
			player0[32].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[32].setBounds(63, 30, 11, 14);
			Block[32].add(player0[32]);
			
			player0[33] = new JLabel("");
			player0[33].setVisible(false);
			player0[33].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[33].setBounds(63, 30, 11, 14);
			Block[33].add(player0[33]);
			
			player0[34] = new JLabel("");
			player0[34].setVisible(false);
			player0[34].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[34].setBounds(63, 30, 11, 14);
			Block[34].add(player0[34]);
			
			player0[35] = new JLabel("");
			player0[35].setVisible(false);
			player0[35].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[35].setBounds(63, 30, 11, 14);
			Block[35].add(player0[35]);
			
			player0[36] = new JLabel("");
			player0[36].setVisible(false);
			player0[36].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[36].setBounds(63, 30, 11, 14);
			Block[36].add(player0[36]);
			
			player0[37] = new JLabel("");
			player0[37].setVisible(false);
			player0[37].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[37].setBounds(63, 30, 11, 14);
			Block[37].add(player0[37]);
			
			player0[38] = new JLabel("");
			player0[38].setVisible(false);
			player0[38].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[38].setBounds(63, 30, 11, 14);
			Block[38].add(player0[38]);
			
			player0[39] = new JLabel("");
			player0[39].setVisible(false);
			player0[39].setBounds(63, 30, 11, 14);
			player0[39].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			Block[39].add(player0[39]);
			
			player0[40] = new JLabel("");
			player0[40].setIcon(new ImageIcon(getClass().getResource(this.pl[0].getIcon())));
			player0[40].setBounds(42, 36, 11, 14);
			player0[40].setVisible(false);
			Block[40].add(player0[40]);
			break;
			
		case 1:	
			player1[0] = new JLabel("");
			player1[0].setVisible(true);
			player1[0].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[0].setBounds(63, 51, 11, 14);
			Block[0].add(player1[0]);
			//Block[0].add(player1[0]);

			player1[1] = new JLabel("");
			player1[1].setVisible(false);
			player1[1].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[1].setBounds(21, 62, 11, 14);
			Block[1].add(player1[1]);
			
			player1[2] = new JLabel("");
			player1[2].setVisible(false);
			player1[2].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[2].setBounds(21, 62, 11, 14);
			Block[2].add(player1[2]);
			
			player1[3] = new JLabel("");
			player1[3].setVisible(false);
			player1[3].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[3].setBounds(21, 62, 11, 14);
			Block[3].add(player1[3]);
			
			player1[4] = new JLabel("");
			player1[4].setVisible(false);
			player1[4].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[4].setBounds(21, 62, 11, 14);
			Block[4].add(player1[4]);
				
			player1[5] = new JLabel("");
			player1[5].setVisible(false);
			player1[5].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[5].setBounds(21, 62, 11, 14);
			Block[5].add(player1[5]);
			
			player1[6]= new JLabel("");
			player1[6].setVisible(false);
			player1[6].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[6].setBounds(21, 62, 11, 14);
			Block[6].add(player1[6]);
			
			player1[7] = new JLabel("");
			player1[7].setVisible(false);
			player1[7].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[7].setBounds(21, 62, 11, 14);
			Block[7].add(player1[7]);
			
			player1[8] = new JLabel("");
			player1[8].setVisible(false);
			player1[8].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[8].setBounds(21, 62, 11, 14);
			Block[8].add(player1[8]);
			
			player1[9] = new JLabel("");
			player1[9].setVisible(false);
			player1[9].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[9].setBounds(21, 62, 11, 14);
			Block[9].add(player1[9]);
			
			player1[10] = new JLabel("");
			player1[10].setVisible(false);
			player1[10].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[10].setBounds(21, 62, 11, 14);
			Block[10].add(player1[10]);
			
			player1[11] = new JLabel("");
			player1[11].setVisible(false);
			player1[11].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[11].setBounds(0, 19, 11, 14);
			Block[11].add(player1[11]);
			
			player1[12] = new JLabel("");
			player1[12].setVisible(false);
			player1[12].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[12].setBounds(0, 19, 11, 14);
			Block[12].add(player1[12]);
			
			player1[13] = new JLabel("");
			player1[13].setVisible(false);
			player1[13].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[13].setBounds(0, 19, 11, 14);
			Block[13].add(player1[13]);
			
			player1[14] = new JLabel("");
			player1[14].setVisible(false);
			player1[14].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[14].setBounds(0, 19, 11, 14);
			Block[14].add(player1[14]);
			
			player1[15] = new JLabel("");
			player1[15].setVisible(false);
			player1[15].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[15].setBounds(0, 19, 11, 14);
			Block[15].add(player1[15]);
			
			player1[16] = new JLabel("");
			player1[16].setVisible(false);
			player1[16].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[16].setBounds(0, 19, 11, 14);
			Block[16].add(player1[16]);
			
			player1[17] = new JLabel("");
			player1[17].setVisible(false);
			player1[17].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[17].setBounds(0, 19, 11, 14);
			Block[17].add(player1[17]);
			
			player1[18] = new JLabel("");
			player1[18].setVisible(false);
			player1[18].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[18].setBounds(0, 19, 11, 14);
			Block[18].add(player1[18]);
			
			player1[19] = new JLabel("");
			player1[19].setVisible(false);
			player1[19].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[19].setBounds(0, 19, 11, 14);
			Block[19].add(player1[19]);
			
			player1[20] = new JLabel("");
			player1[20].setVisible(false);
			player1[20].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[20].setBounds(10, 0, 11, 14);
			Block[20].add(player1[20]);
			
			player1[21] = new JLabel("");
			player1[21].setVisible(false);
			player1[21].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[21].setBounds(14, 0, 11, 14);
			Block[21].add(player1[21]);
			
			player1[22] = new JLabel("");
			player1[22].setVisible(false);
			player1[22].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[22].setBounds(10, 0, 11, 14);
			Block[22].add(player1[22]);
			
			player1[23] = new JLabel("");
			player1[23].setVisible(false);
			player1[23].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[23].setBounds(10, -3, 11, 14);
			Block[23].add(player1[23]);
			
			player1[24] = new JLabel("");
			player1[24].setVisible(false);
			player1[24].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[24].setBounds(10, 0, 11, 14);
			Block[24].add(player1[24]);
			
			player1[25] = new JLabel("");
			player1[25].setVisible(false);
			player1[25].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[25].setBounds(10, 0, 11, 14);
			Block[25].add(player1[25]);
			
			player1[26] = new JLabel("");
			player1[26].setVisible(false);
			player1[26].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[26].setBounds(10, 0, 11, 14);
			Block[26].add(player1[26]);
			
			player1[27] = new JLabel("");
			player1[27].setVisible(false);
			player1[27].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[27].setBounds(14, -3, 11, 14);
			Block[27].add(player1[27]);
			
			player1[28] = new JLabel("");
			player1[28].setVisible(false);
			player1[28].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[28].setBounds(10, 0, 11, 14);
			Block[28].add(player1[28]);
			
			player1[29] = new JLabel("");
			player1[29].setVisible(false);
			player1[29].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[29].setBounds(14, -3, 11, 14);
			Block[29].add(player1[29]);
			
			player1[30] = new JLabel("");
			player1[30].setVisible(false);
			player1[30].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[30].setBounds(42, 0, 11, 14);
			Block[30].add(player1[30]);
			
			player1[31] = new JLabel("");
			player1[31].setVisible(false);
			player1[31].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[31].setBounds(63, 19, 11, 14);
			Block[31].add(player1[31]);
			
			player1[32] = new JLabel("");
			player1[32].setVisible(false);
			player1[32].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[32].setBounds(63, 19, 11, 14);
			Block[32].add(player1[32]);
			
			player1[33] = new JLabel("");
			player1[33].setVisible(false);
			player1[33].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[33].setBounds(63, 19, 11, 14);
			Block[33].add(player1[33]);
			
			player1[34] = new JLabel("");
			player1[34].setVisible(false);
			player1[34].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[34].setBounds(63, 19, 11, 14);
			Block[34].add(player1[34]);
			
			player1[35] = new JLabel("");
			player1[35].setVisible(false);
			player1[35].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[35].setBounds(63, 19, 11, 14);
			Block[35].add(player1[35]);
			
			player1[36] = new JLabel("");
			player1[36].setVisible(false);
			player1[36].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[36].setBounds(63, 19, 11, 14);
			Block[36].add(player1[36]);
			
			player1[37] = new JLabel("");
			player1[37].setVisible(false);
			player1[37].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[37].setBounds(63, 19, 11, 14);
			Block[37].add(player1[37]);
			
			player1[38] = new JLabel("");
			player1[38].setVisible(false);
			player1[38].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[38].setBounds(63, 19, 11, 14);
			Block[38].add(player1[38]);

			player1[39] = new JLabel("");
			player1[39].setVisible(false);
			player1[39].setBounds(63, 19, 11, 14);
			player1[39].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			Block[39].add(player1[39]);
			
			player1[40] = new JLabel("");
			player1[40].setIcon(new ImageIcon(getClass().getResource(this.pl[1].getIcon())));
			player1[40].setBounds(42, 25, 12, 14);
			player1[40].setVisible(false);
			Block[40].add(player1[40]);
	
			break;
		
		case 2:
			player2[0] = new JLabel("");
			player2[0].setVisible(true);
			player2[0].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[0].setBounds(63, 26, 11, 14);
			Block[0].add(player2[0]);
			
			player2[1] = new JLabel("");
			player2[1].setVisible(false);
			player2[1].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[1].setBounds(0, 62, 11, 14);
			Block[1].add(player2[1]);
			
			player2[2] = new JLabel("");
			player2[2].setVisible(false);
			player2[2].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[2].setBounds(0, 62, 11, 14);
			Block[2].add(player2[2]);
			
			player2[3] = new JLabel("");
			player2[3].setVisible(false);
			player2[3].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[3].setBounds(0, 62, 11, 14);
			Block[3].add(player2[3]);
			
			player2[4] = new JLabel("");
			player2[4].setVisible(false);
			player2[4].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[4].setBounds(0, 62, 11, 14);
			Block[4].add(player2[4]);
			
			player2[5] = new JLabel("");
			player2[5].setVisible(false);
			player2[5].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[5].setBounds(0, 62, 11, 14);
			Block[5].add(player2[5]);
			
			player2[6] = new JLabel("");
			player2[6].setVisible(false);
			player2[6].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[6].setBounds(0, 62, 11, 14);
			Block[6].add(player2[6]);
			
			player2[7] = new JLabel("");
			player2[7].setVisible(false);
			player2[7].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[7].setBounds(0, 62, 11, 14);
			Block[7].add(player2[7]);
			
			player2[8] = new JLabel("");
			player2[8].setVisible(false);
			player2[8].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[8].setBounds(0, 62, 11, 14);
			Block[8].add(player2[8]);
			
			player2[9] = new JLabel("");
			player2[9].setVisible(false);
			player2[9].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[9].setBounds(0, 62, 11, 14);
			Block[9].add(player2[9]);
			
			player2[10] = new JLabel("");
			player2[10].setVisible(false);
			player2[10].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[10].setBounds(0, 62, 11, 14);
			Block[10].add(player2[10]);
			
			player2[11] = new JLabel("");
			player2[11].setVisible(false);
			player2[11].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[11].setBounds(0, -6, 11, 14);
			Block[11].add(player2[11]);
			
			player2[12] = new JLabel("");
			player2[12].setVisible(false);
			player2[12].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[12].setBounds(0, -6, 11, 14);
			Block[12].add(player2[12]);
			
			player2[13] = new JLabel("");
			player2[13].setVisible(false);
			player2[13].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[13].setBounds(0, -6, 11, 14);
			Block[13].add(player2[13]);
			
			player2[14] = new JLabel("");
			player2[14].setVisible(false);
			player2[14].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[14].setBounds(0, -6, 11, 14);
			Block[14].add(player2[14]);
			
			player2[15] = new JLabel("");
			player2[15].setVisible(false);
			player2[15].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[15].setBounds(0, -6, 11, 14);
			Block[15].add(player2[15]);
			
			player2[16] = new JLabel("");
			player2[16].setVisible(false);
			player2[16].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[16].setBounds(0, -6, 11, 14);
			Block[16].add(player2[16]);
			
			player2[17] = new JLabel("");
			player2[17].setVisible(false);
			player2[17].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[17].setBounds(0, -6, 11, 14);
			Block[17].add(player2[17]);
			
			player2[18] = new JLabel("");
			player2[18].setVisible(false);
			player2[18].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[18].setBounds(0, -6, 11, 14);
			Block[18].add(player2[18]);
			
			player2[19] = new JLabel("");
			player2[19].setVisible(false);
			player2[19].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[19].setBounds(0, -6, 11, 14);
			Block[19].add(player2[19]);
			
			player2[20] = new JLabel("");
			player2[20].setVisible(false);
			player2[20].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[20].setBounds(31, 0, 11, 14);
			Block[20].add(player2[20]);
			
			player2[21] = new JLabel("");
			player2[21].setVisible(false);
			player2[21].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[21].setBounds(35, 0, 11, 14);
			Block[21].add(player2[21]);
			
			player2[22] = new JLabel("");
			player2[22].setVisible(false);
			player2[22].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[22].setBounds(31, 0, 11, 14);
			Block[22].add(player2[22]);
			
			player2[23] = new JLabel("");
			player2[23].setVisible(false);
			player2[23].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[23].setBounds(31, -3, 11, 14);
			Block[23].add(player2[23]);
			
			player2[24] = new JLabel("");
			player2[24].setVisible(false);
			player2[24].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[24].setBounds(31, 0, 11, 14);
			Block[24].add(player2[24]);
			
			player2[25] = new JLabel("");
			player2[25].setVisible(false);
			player2[25].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[25].setBounds(31, 0, 11, 14);
			Block[25].add(player2[25]);
			
			player2[26] = new JLabel("");
			player2[26].setVisible(false);
			player2[26].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[26].setBounds(31, 0, 11, 14);
			Block[26].add(player2[26]);
			
			player2[27] = new JLabel("");
			player2[27].setVisible(false);
			player2[27].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[27].setBounds(35, -3, 11, 14);
			Block[27].add(player2[27]);
			
			player2[28] = new JLabel("");
			player2[28].setVisible(false);
			player2[28].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[28].setBounds(31, 0, 11, 14);
			Block[28].add(player2[28]);
			
			player2[29] = new JLabel("");
			player2[29].setVisible(false);
			player2[29].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[29].setBounds(35, -3, 11, 14);
			Block[29].add(player2[29]);
			
			player2[30] = new JLabel("");
			player2[30].setVisible(false);
			player2[30].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[30].setBounds(63, 0, 11, 14);
			Block[30].add(player2[30]);
			
			player2[31] = new JLabel("");
			player2[31].setVisible(false);
			player2[31].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[31].setBounds(63, -6, 11, 14);
			Block[31].add(player2[31]);
			
			player2[32] = new JLabel("");
			player2[32].setVisible(false);
			player2[32].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[32].setBounds(63, -6, 11, 14);
			Block[32].add(player2[32]);
			
			player2[33] = new JLabel("");
			player2[33].setVisible(false);
			player2[33].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[33].setBounds(63, -6, 11, 14);
			Block[33].add(player2[33]);
			
			player2[34] = new JLabel("");
			player2[34].setVisible(false);
			player2[34].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[34].setBounds(63, -6, 11, 14);
			Block[34].add(player2[34]);
			
			player2[35] = new JLabel("");
			player2[35].setVisible(false);
			player2[35].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[35].setBounds(63, -6, 11, 14);
			Block[35].add(player2[35]);
			
			player2[36] = new JLabel("");
			player2[36].setVisible(false);
			player2[36].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[36].setBounds(63, -6, 11, 14);
			Block[36].add(player2[36]);
			
			player2[37] = new JLabel("");
			player2[37].setVisible(false);
			player2[37].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[37].setBounds(63, -6, 11, 14);
			Block[37].add(player2[37]);
			
			player2[38] = new JLabel("");
			player2[38].setVisible(false);
			player2[38].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[38].setBounds(63, -6, 11, 14);
			Block[38].add(player2[38]);
			
			player2[39] = new JLabel("");
			player2[39].setVisible(false);
			player2[39].setBounds(63, -6, 11, 14);
			player2[39].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			Block[39].add(player2[39]);
			
			player2[40] = new JLabel("");
			player2[40].setIcon(new ImageIcon(getClass().getResource(this.pl[2].getIcon())));
			player2[40].setBounds(42, 0, 11, 14);
			player2[40].setVisible(false);
			Block[40].add(player2[40]);
			break;
			
		case 3:
			player3[0]= new JLabel("");
			player3[0].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[0].setBounds(63, 37, 11, 14);
			player3[0].setVisible(true);
			Block[0].add(player3[0]);
			
			player3[1] = new JLabel("");
			player3[1].setVisible(false);
			player3[1].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[1].setBounds(10, 62, 11, 14);
			Block[1].add(player3[1]);

			player3[2] = new JLabel("");
			player3[2].setVisible(false);
			player3[2].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[2].setBounds(10, 62, 11, 14);
			Block[2].add(player3[2]);
			
			player3[3] = new JLabel("");
			player3[3].setVisible(false);
			player3[3].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[3].setBounds(10, 62, 11, 14);
			Block[3].add(player3[3]);
			
			player3[4] = new JLabel("");
			player3[4].setVisible(false);
			player3[4].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[4].setBounds(10, 62, 11, 14);
			Block[4].add(player3[4]);
			
			player3[5] = new JLabel("");
			player3[5].setVisible(false);
			player3[5].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[5].setBounds(10, 62, 11, 14);
			Block[5].add(player3[5]);
			
			player3[6] = new JLabel("");
			player3[6].setVisible(false);
			player3[6].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[6].setBounds(10, 62, 11, 14);
			Block[6].add(player3[6]);

			player3[7] = new JLabel("");
			player3[7].setVisible(false);
			player3[7].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[7].setBounds(10, 62, 11, 14);
			Block[7].add(player3[7]);
			
			player3[8] = new JLabel("");
			player3[8].setVisible(false);
			player3[8].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[8].setBounds(10, 62, 11, 14);
			Block[8].add(player3[8]);
			
			player3[9] = new JLabel("");
			player3[9].setVisible(false);
			player3[9].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[9].setBounds(10, 62, 11, 14);
			Block[9].add(player3[9]);

			player3[10] = new JLabel("");
			player3[10].setVisible(false);
			player3[10].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[10].setBounds(10, 62, 11, 14);
			Block[10].add(player3[10]);
			
			player3[11] = new JLabel("");
			player3[11].setVisible(false);
			player3[11].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[11].setBounds(0, 5, 11, 14);
			Block[11].add(player3[11]);
			
			player3[12] = new JLabel("");
			player3[12].setVisible(false);
			player3[12].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[12].setBounds(0, 5, 11, 14);
			Block[12].add(player3[12]);

			player3[13] = new JLabel("");
			player3[13].setVisible(false);
			player3[13].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[13].setBounds(0, 5, 11, 14);
			Block[13].add(player3[13]);
			
			player3[14] = new JLabel("");
			player3[14].setVisible(false);
			player3[14].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[14].setBounds(0, 5, 11, 14);
			Block[14].add(player3[14]);
			
			player3[15] = new JLabel("");
			player3[15].setVisible(false);
			player3[15].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[15].setBounds(0, 5, 11, 14);
			Block[15].add(player3[15]);

			player3[16] = new JLabel("");
			player3[16].setVisible(false);
			player3[16].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[16].setBounds(0, 5, 11, 14);
			Block[16].add(player3[16]);
		

			player3[17] = new JLabel("");
			player3[17].setVisible(false);
			player3[17].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[17].setBounds(0, 5, 11, 14);			
			Block[17].add(player3[17]);

			player3[18] = new JLabel("");
			player3[18].setVisible(false);
			player3[18].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[18].setBounds(0, 5, 11, 14);
			Block[18].add(player3[18]);
			
			player3[19] = new JLabel("");
			player3[19].setVisible(false);
			player3[19].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[19].setBounds(0, 5, 11, 14);
			Block[19].add(player3[19]);

			player3[20] = new JLabel("");
			player3[20].setVisible(false);
			player3[20].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[20].setBounds(21, 0, 11, 14);
			Block[20].add(player3[20]);

			player3[21] = new JLabel("");
			player3[21].setVisible(false);
			player3[21].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[21].setBounds(25, 0, 11, 14);
			Block[21].add(player3[21]);
			
			player3[22] = new JLabel("");
			player3[22].setVisible(false);
			player3[22].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[22].setBounds(21, 0, 11, 14);
			Block[22].add(player3[22]);
			
			player3[23] = new JLabel("");
			player3[23].setVisible(false);
			player3[23].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[23].setBounds(21, -3, 11, 14);
			Block[23].add(player3[23]);

			player3[24] = new JLabel("");
			player3[24].setVisible(false);
			player3[24].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[24].setBounds(21, 0, 11, 14);
			Block[24].add(player3[24]);
			
			player3[25] = new JLabel("");
			player3[25].setVisible(false);
			player3[25].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[25].setBounds(21, 0, 11, 14);
			Block[25].add(player3[25]);

			player3[26] = new JLabel("");
			player3[26].setVisible(false);
			player3[26].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[26].setBounds(21, 0, 11, 14);
			Block[26].add(player3[26]);

			player3[27] = new JLabel("");
			player3[27].setVisible(false);
			player3[27].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[27].setBounds(25, -3, 11, 14);
			Block[27].add(player3[27]);

			player3[28] = new JLabel("");
			player3[28].setVisible(false);
			player3[28].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[28].setBounds(21, 0, 11, 14);
			Block[28].add(player3[28]);

			player3[29] = new JLabel("");
			player3[29].setVisible(false);
			player3[29].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[29].setBounds(25, -3, 11, 14);
			Block[29].add(player3[29]);

			player3[30] = new JLabel("");
			player3[30].setVisible(false);
			player3[30].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[30].setBounds(53, 0, 11, 14);
			Block[30].add(player3[30]);
			
			player3[31] = new JLabel("");
			player3[31].setVisible(false);
			player3[31].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[31].setBounds(63, 5, 11, 14);
			Block[31].add(player3[31]);

			player3[32] = new JLabel("");
			player3[32].setVisible(false);
			player3[32].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[32].setBounds(63, 5, 11, 14);
			Block[32].add(player3[32]);

			player3[33] = new JLabel("");
			player3[33].setVisible(false);
			player3[33].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[33].setBounds(63, 5, 11, 14);
			Block[33].add(player3[33]);

			player3[34] = new JLabel("");
			player3[34].setVisible(false);
			player3[34].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[34].setBounds(63, 5, 11, 14);
			Block[34].add(player3[34]);

			player3[35] = new JLabel("");
			player3[35].setVisible(false);
			player3[35].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[35].setBounds(63, 5, 11, 14);
			Block[35].add(player3[35]);

			player3[36] = new JLabel("");
			player3[36].setVisible(false);
			player3[36].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[36].setBounds(63, 5, 11, 14);
			Block[36].add(player3[36]);

			player3[37] = new JLabel("");
			player3[37].setVisible(false);
			player3[37].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[37].setBounds(63, 5, 11, 14);
			Block[37].add(player3[37]);

			player3[38] = new JLabel("");
			player3[38].setVisible(false);
			player3[38].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[38].setBounds(63, 5, 11, 14);
			Block[38].add(player3[38]);

			player3[39] = new JLabel("");
			player3[39].setVisible(false);
			player3[39].setBounds(63, 5, 11, 14);
			player3[39].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			Block[39].add(player3[39]);

			player3[40] = new JLabel("");
			player3[40].setVisible(false);
			player3[40].setIcon(new ImageIcon(getClass().getResource(this.pl[3].getIcon())));
			player3[40].setBounds(42, 11, 11, 14);
			Block[40].add(player3[40]);
			
			break;
			
		case 4:
			player4[0] = new JLabel("");
			player4[0].setVisible(true);
			player4[0].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[0].setBounds(53, 62, 11, 14);
			Block[0].add(player4[0]);

			player4[1] = new JLabel("");
			player4[1].setVisible(false);
			player4[1].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[1].setBounds(31, 51, 11, 14);
			Block[1].add(player4[1]);

			player4[2] = new JLabel("");
			player4[2].setVisible(false);
			player4[2].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[2].setBounds(31, 51, 11, 14);
			Block[2].add(player4[2]);

			player4[3] = new JLabel("");
			player4[3].setVisible(false);
			player4[3].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[3].setBounds(31, 51, 11, 14);
			Block[3].add(player4[3]);

			player4[4] = new JLabel("");
			player4[4].setVisible(false);
			player4[4].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[4].setBounds(31, 51, 11, 14);
			Block[4].add(player4[4]);

			player4[5] = new JLabel("");
			player4[5].setVisible(false);
			player4[5].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[5].setBounds(31, 51, 11, 14);
			Block[5].add(player4[5]);

			player4[6] = new JLabel("");
			player4[6].setVisible(false);
			player4[6].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[6].setBounds(31, 51, 11, 14);
			Block[6].add(player4[6]);

			player4[7] = new JLabel("");
			player4[7].setVisible(false);
			player4[7].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[7].setBounds(31, 51, 11, 14);
			Block[7].add(player4[7]);

			player4[8] = new JLabel("");
			player4[8].setVisible(false);
			player4[8].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[8].setBounds(31, 51, 11, 14);
			Block[8].add(player4[8]);

			player4[9] = new JLabel("");
			player4[9].setVisible(false);
			player4[9].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[9].setBounds(31, 51, 11, 14);
			Block[9].add(player4[9]);

			player4[10] = new JLabel("");
			player4[10].setVisible(false);
			player4[10].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[10].setBounds(31, 51, 11, 14);
			Block[10].add(player4[10]);

			player4[11] = new JLabel("");
			player4[11].setVisible(false);
			player4[11].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[11].setBounds(10, 30, 11, 14);
			Block[11].add(player4[11]);
			
			player4[12] = new JLabel("");
			player4[12].setVisible(false);
			player4[12].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[12].setBounds(10, 30, 11, 14);
			Block[12].add(player4[12]);
			
			player4[13] = new JLabel("");
			player4[13].setVisible(false);
			player4[13].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[13].setBounds(10, 30, 11, 14);
			Block[13].add(player4[13]);
			
			player4[14] = new JLabel("");
			player4[14].setVisible(false);
			player4[14].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[14].setBounds(10, 30, 11, 14);
			Block[14].add(player4[14]);
			
			player4[15] = new JLabel("");
			player4[15].setVisible(false);
			player4[15].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[15].setBounds(10, 30, 11, 14);
			Block[15].add(player4[15]);

			player4[16] = new JLabel("");
			player4[16].setVisible(false);
			player4[16].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[16].setBounds(10, 30, 11, 14);
			Block[16].add(player4[16]);
			
			player4[17] = new JLabel("");
			player4[17].setVisible(false);
			player4[17].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[17].setBounds(10, 30, 11, 14);
			Block[17].add(player4[17]);

			player4[18] = new JLabel("");
			player4[18].setVisible(false);
			player4[18].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[18].setBounds(10, 30, 11, 14);
			Block[18].add(player4[18]);
			
			player4[19] = new JLabel("");
			player4[19].setVisible(false);
			player4[19].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[19].setBounds(10, 30, 11, 14);
			Block[19].add(player4[19]);
			
			player4[20] = new JLabel("");
			player4[20].setVisible(false);
			player4[20].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[20].setBounds(0, 14, 11, 14);
			Block[20].add(player4[20]);

			player4[21] = new JLabel("");
			player4[21].setVisible(false);
			player4[21].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[21].setBounds(4, 14, 11, 14);
			Block[21].add(player4[21]);
			
			player4[22]= new JLabel("");
			player4[22].setVisible(false);
			player4[22].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[22].setBounds(0, 14, 11, 14);
			Block[22].add(player4[22]);
			
			player4[23] = new JLabel("");
			player4[23].setVisible(false);
			player4[23].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[23].setBounds(0, 11, 11, 14);
			Block[23].add(player4[23]);
		
			player4[24] = new JLabel("");
			player4[24].setVisible(false);
			player4[24].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[24].setBounds(0, 14, 11, 14);
			Block[24].add(player4[24]);
			
			player4[25] = new JLabel("");
			player4[25].setVisible(false);
			player4[25].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[25].setBounds(0, 14, 11, 14);
			Block[25].add(player4[25]);
		
			player4[26] = new JLabel("");
			player4[26].setVisible(false);
			player4[26].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[26].setBounds(0, 14, 11, 14);
			Block[26].add(player4[26]);
			
			player4[27] = new JLabel("");
			player4[27].setVisible(false);
			player4[27].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[27].setBounds(4, 11, 11, 14);
			Block[27].add(player4[27]);
			
			player4[28] = new JLabel("");
			player4[28].setVisible(false);
			player4[28].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[28].setBounds(0, 14, 11, 14);
			Block[28].add(player4[28]);
			
			player4[29] = new JLabel("");
			player4[29].setVisible(false);
			player4[29].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[29].setBounds(4, 11, 11, 14);
			Block[29].add(player4[29]);
			
			player4[30] = new JLabel("");
			player4[30].setVisible(false);
			player4[30].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[30].setBounds(32, 14, 11, 14);
			Block[30].add(player4[30]);
			
			player4[31] = new JLabel("");
			player4[31].setVisible(false);
			player4[31].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[31].setBounds(53, 30, 11, 14);
			Block[31].add(player4[31]);
			
			player4[32] = new JLabel("");
			player4[32].setVisible(false);
			player4[32].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[32].setBounds(53, 30, 11, 14);
			Block[32].add(player4[32]);
			
			player4[33] = new JLabel("");
			player4[33].setVisible(false);
			player4[33].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[33].setBounds(53, 30, 11, 14);
			Block[33].add(player4[33]);
			
			player4[34] = new JLabel("");
			player4[34].setVisible(false);
			player4[34].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[34].setBounds(53, 30, 11, 14);
			Block[34].add(player4[34]);
			
			player4[35] = new JLabel("");
			player4[35].setVisible(false);
			player4[35].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[35].setBounds(53, 30, 11, 14);
			Block[35].add(player4[35]);
			
			player4[36] = new JLabel("");
			player4[36].setVisible(false);
			player4[36].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[36].setBounds(53, 30, 11, 14);
			Block[36].add(player4[36]);
			
			player4[37] = new JLabel("");
			player4[37].setVisible(false);
			player4[37].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[37].setBounds(53, 30, 11, 14);
			Block[37].add(player4[37]);
			
			player4[38] = new JLabel("");
			player4[38].setVisible(false);
			player4[38].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[38].setBounds(53, 30, 11, 14);
			Block[38].add(player4[38]);
			
			player4[39] = new JLabel("");
			player4[39].setVisible(false);
			player4[39].setBounds(53, 30, 11, 14);
			player4[39].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			Block[39].add(player4[39]);
			
			player4[40] = new JLabel("");
			player4[40].setVisible(false);
			player4[40].setIcon(new ImageIcon(getClass().getResource(this.pl[4].getIcon())));
			player4[40].setBounds(52, 36, 11, 14);
			Block[40].add(player4[40]);
		
			break;
			
		case 5:
			player5[0] = new JLabel("");
			player5[0].setVisible(true);
			player5[0].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[0].setBounds(53, 51, 11, 14);
			Block[0].add(player5[0]);

			player5[1] = new JLabel("");
			player5[1].setVisible(false);
			player5[1].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[1].setBounds(20, 51, 11, 14);
			Block[1].add(player5[1]);
			
			player5[2] = new JLabel("");
			player5[2].setVisible(false);
			player5[2].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[2].setBounds(20, 51, 11, 14);
			Block[2].add(player5[2]);
			
			player5[3] = new JLabel("");
			player5[3].setVisible(false);
			player5[3].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[3].setBounds(20, 51, 11, 14);
			Block[3].add(player5[3]);

			player5[4] = new JLabel("");
			player5[4].setVisible(false);
			player5[4].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[4].setBounds(20, 51, 11, 14);
			Block[4].add(player5[4]);

			player5[5] = new JLabel("");
			player5[5].setVisible(false);
			player5[5].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[5].setBounds(20, 51, 11, 14);
			Block[5].add(player5[5]);

			player5[6] = new JLabel("");
			player5[6].setVisible(false);
			player5[6].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[6].setBounds(20, 51, 11, 14);
			Block[6].add(player5[6]);

			player5[7] = new JLabel("");
			player5[7].setVisible(false);
			player5[7].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[7].setBounds(20, 51, 11, 14);
			Block[7].add(player5[7]);

			player5[8] = new JLabel("");
			player5[8].setVisible(false);
			player5[8].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[8].setBounds(20, 51, 11, 14);
			Block[8].add(player5[8]);

			player5[9] = new JLabel("");
			player5[9].setVisible(false);
			player5[9].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[9].setBounds(20, 51, 11, 14);
			Block[9].add(player5[9]);

			player5[10] = new JLabel("");
			player5[10].setVisible(false);
			player5[10].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[10].setBounds(21, 51, 11, 14);
			Block[10].add(player5[10]);

			player5[11] = new JLabel("");
			player5[11].setVisible(false);
			player5[11].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[11].setBounds(10, 19, 11, 14);
			Block[11].add(player5[11]);
			
			player5[12] = new JLabel("");
			player5[12].setVisible(false);
			player5[12].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[12].setBounds(10, 19, 11, 14);
			Block[12].add(player5[12]);
			
			player5[13] = new JLabel("");
			player5[13].setVisible(false);
			player5[13].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[13].setBounds(10, 19, 11, 14);
			Block[13].add(player5[13]);
			
			player5[14] = new JLabel("");
			player5[14].setVisible(false);
			player5[14].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[14].setBounds(10, 19, 11, 14);
			Block[14].add(player5[14]);
			
			player5[15] = new JLabel("");
			player5[15].setVisible(false);
			player5[15].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[15].setBounds(10, 19, 11, 14);
			Block[15].add(player5[15]);
			
			player5[16] = new JLabel("");
			player5[16].setVisible(false);
			player5[16].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[16].setBounds(10, 19, 11, 14);
			Block[16].add(player5[16]);
			
			player5[17] = new JLabel("");
			player5[17].setVisible(false);
			player5[17].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[17].setBounds(10, 19, 11, 14);
			Block[17].add(player5[17]);
			
			player5[18] = new JLabel("");
			player5[18].setVisible(false);
			player5[18].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[18].setBounds(10, 19, 11, 14);
			Block[18].add(player5[18]);
			
			player5[19] = new JLabel("");
			player5[19].setVisible(false);
			player5[19].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[19].setBounds(10, 19, 11, 14);
			Block[19].add(player5[19]);
			
			player5[20] = new JLabel("");
			player5[20].setVisible(false);
			player5[20].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[20].setBounds(10, 14, 11, 14);
			Block[20].add(player5[20]);
			
			player5[21] = new JLabel("");
			player5[21].setVisible(false);
			player5[21].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[21].setBounds(14, 14, 11, 14);
			Block[21].add(player5[21]);
			
			player5[22] = new JLabel("");
			player5[22].setVisible(false);
			player5[22].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[22].setBounds(10, 14, 11, 14);
			Block[22].add(player5[22]);
			
			player5[23] = new JLabel("");
			player5[23].setVisible(false);
			player5[23].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[23].setBounds(10, 11, 11, 14);
			Block[23].add(player5[23]);
			
			player5[24] = new JLabel("");
			player5[24].setVisible(false);
			player5[24].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[24].setBounds(10, 14, 11, 14);
			Block[24].add(player5[24]);
			
			player5[25] = new JLabel("");
			player5[25].setVisible(false);
			player5[25].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[25].setBounds(10, 14, 11, 14);
			Block[25].add(player5[25]);
			
			player5[26] = new JLabel("");
			player5[26].setVisible(false);
			player5[26].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[26].setBounds(10, 14, 11, 14);
			Block[26].add(player5[26]);
			
			player5[27] = new JLabel("");
			player5[27].setVisible(false);
			player5[27].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[27].setBounds(14, 11, 11, 14);
			Block[27].add(player5[27]);
			
			player5[28] = new JLabel("");
			player5[28].setVisible(false);
			player5[28].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[28].setBounds(10, 14, 11, 14);
			Block[28].add(player5[28]);
			
			player5[29] = new JLabel("");
			player5[29].setVisible(false);
			player5[29].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[29].setBounds(14, 11, 11, 14);
			Block[29].add(player5[29]);
			
			player5[30] = new JLabel("");
			player5[30].setVisible(false);
			player5[30].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[30].setBounds(42, 14, 11, 14);
			Block[30].add(player5[30]);
			
			player5[31] = new JLabel("");
			player5[31].setVisible(false);
			player5[31].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[31].setBounds(53, 19, 11, 14);
			Block[31].add(player5[31]);
			
			player5[32] = new JLabel("");
			player5[32].setVisible(false);
			player5[32].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[32].setBounds(53, 19, 11, 14);
			Block[32].add(player5[32]);
			
			player5[33] = new JLabel("");
			player5[33].setVisible(false);
			player5[33].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[33].setBounds(53, 19, 11, 14);
			Block[33].add(player5[33]);
			
			player5[34] = new JLabel("");
			player5[34].setVisible(false);
			player5[34].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[34].setBounds(53, 19, 11, 14);
			Block[34].add(player5[34]);
			
			player5[35] = new JLabel("");
			player5[35].setVisible(false);
			player5[35].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[35].setBounds(53, 19, 11, 14);
			Block[35].add(player5[35]);
			
			player5[36] = new JLabel("");
			player5[36].setVisible(false);
			player5[36].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[36].setBounds(53, 19, 11, 14);
			Block[36].add(player5[36]);
			
			player5[37] = new JLabel("");
			player5[37].setVisible(false);
			player5[37].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[37].setBounds(53, 19, 11, 14);
			Block[37].add(player5[37]);
			
			player5[38] = new JLabel("");
			player5[38].setVisible(false);
			player5[38].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[38].setBounds(53, 19, 11, 14);
			Block[38].add(player5[38]);
			
			player5[39] = new JLabel("");
			player5[39].setVisible(false);
			player5[39].setBounds(53, 19, 11, 14);
			player5[39].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			Block[39].add(player5[39]);
			
			player5[40] = new JLabel("");
			player5[40].setIcon(new ImageIcon(getClass().getResource(this.pl[5].getIcon())));
			player5[40].setBounds(52, 25, 11, 14);
			player5[40].setVisible(false);
			Block[40].add(player5[40]);
			
			break;
			
		case 6:
			
			player6[0] = new JLabel("");
			player6[0].setVisible(true);
			player6[0].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[0].setBounds(53, 37, 11, 14);
			Block[0].add(player6[0]);
			
			player6[1] = new JLabel("");
			player6[1].setVisible(false);
			player6[1].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[1].setBounds(10, 51, 11, 14);
			Block[1].add(player6[1]);
			
			player6[2] = new JLabel("");
			player6[2].setVisible(false);
			player6[2].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[2].setBounds(10, 51, 11, 14);
			Block[2].add(player6[2]);
			
			player6[3] = new JLabel("");
			player6[3].setVisible(false);
			player6[3].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[3].setBounds(10, 51, 11, 14);
			Block[3].add(player6[3]);

			player6[4] = new JLabel("");
			player6[4].setVisible(false);
			player6[4].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[4].setBounds(10, 51, 11, 14);
			Block[4].add(player6[4]);

			player6[5] = new JLabel("");
			player6[5].setVisible(false);
			player6[5].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[5].setBounds(10, 51, 11, 14);
			Block[5].add(player6[5]);
			
			player6[6] = new JLabel("");
			player6[6].setVisible(false);
			player6[6].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[6].setBounds(10, 51, 11, 14);
			Block[6].add(player6[6]);

			player6[7] = new JLabel("");
			player6[7].setVisible(false);
			player6[7].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[7].setBounds(10, 51, 11, 14);
			Block[7].add(player6[7]);

			player6[8] = new JLabel("");
			player6[8].setVisible(false);
			player6[8].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[8].setBounds(10, 51, 11, 14);
			Block[8].add(player6[8]);
			
			player6[9] = new JLabel("");
			player6[9].setVisible(false);
			player6[9].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[9].setBounds(10, 51, 11, 14);
			Block[9].add(player6[9]);

			player6[10] = new JLabel("");
			player6[10].setVisible(false);
			player6[10].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[10].setBounds(10, 51, 11, 14);
			Block[10].add(player6[10]);

			player6[11] = new JLabel("");
			player6[11].setVisible(false);
			player6[11].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[11].setBounds(10, 5, 11, 14);
			Block[11].add(player6[11]);

			player6[12] = new JLabel("");
			player6[12].setVisible(false);
			player6[12].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[12].setBounds(10, 5, 11, 14);
			Block[12].add(player6[12]);
			
			player6[13] = new JLabel("");
			player6[13].setVisible(false);
			player6[13].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[13].setBounds(10, 5, 11, 14);
			Block[13].add(player6[13]);
			
			player6[14] = new JLabel("");
			player6[14].setVisible(false);
			player6[14].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[14].setBounds(10, 5, 11, 14);
			Block[14].add(player6[14]);
			
			player6[15] = new JLabel("");
			player6[15].setVisible(false);
			player6[15].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[15].setBounds(10, 5, 11, 14);
			Block[15].add(player6[15]);
			
			player6[16] = new JLabel("");
			player6[16].setVisible(false);
			player6[16].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[16].setBounds(10, 5, 11, 14);
			Block[16].add(player6[16]);
			
			player6[17] = new JLabel("");
			player6[17].setVisible(false);
			player6[17].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[17].setBounds(10, 5, 11, 14);
			Block[17].add(player6[17]);
			
			player6[18] = new JLabel("");
			player6[18].setVisible(false);
			player6[18].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[18].setBounds(10, 5, 11, 14);
			Block[18].add(player6[18]);
			
			player6[19] = new JLabel("");
			player6[19].setVisible(false);
			player6[19].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[19].setBounds(10, 5, 11, 14);
			Block[19].add(player6[19]);
			
			player6[20] = new JLabel("");
			player6[20].setVisible(false);
			player6[20].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[20].setBounds(20, 14, 11, 14);
			Block[20].add(player6[20]);
			
			player6[21] = new JLabel("");
			player6[21].setVisible(false);
			player6[21].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[21].setBounds(24, 14, 11, 14);
			Block[21].add(player6[21]);
			
			player6[22] = new JLabel("");
			player6[22].setVisible(false);
			player6[22].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[22].setBounds(20, 14, 11, 14);
			Block[22].add(player6[22]);
			
			player6[23] = new JLabel("");
			player6[23].setVisible(false);
			player6[23].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[23].setBounds(20, 11, 11, 14);
			Block[23].add(player6[23]);
			
			player6[24] = new JLabel("");
			player6[24].setVisible(false);
			player6[24].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[24].setBounds(20, 14, 11, 14);
			Block[24].add(player6[24]);
			
			player6[25] = new JLabel("");
			player6[25].setVisible(false);
			player6[25].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[25].setBounds(20, 14, 11, 14);
			Block[25].add(player6[25]);
		
			player6[26] = new JLabel("");
			player6[26].setVisible(false);
			player6[26].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[26].setBounds(20, 14, 11, 14);
			Block[26].add(player6[26]);
			
			player6[27] = new JLabel("");
			player6[27].setVisible(false);
			player6[27].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[27].setBounds(24, 11, 11, 14);
			Block[27].add(player6[27]);
			
			player6[28] = new JLabel("");
			player6[28].setVisible(false);
			player6[28].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[28].setBounds(20, 14, 11, 14);
			Block[28].add(player6[28]);
			
			player6[29] = new JLabel("");
			player6[29].setVisible(false);
			player6[29].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[29].setBounds(24, 11, 11, 14);
			Block[29].add(player6[29]);
			
			player6[30] = new JLabel("");
			player6[30].setVisible(false);
			player6[30].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[30].setBounds(52, 14, 11, 14);
			Block[30].add(player6[30]);
			
			player6[31] = new JLabel("");
			player6[31].setVisible(false);
			player6[31].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[31].setBounds(53, 5, 11, 14);
			Block[31].add(player6[31]);
			
			player6[32] = new JLabel("");
			player6[32].setVisible(false);
			player6[32].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[32].setBounds(53, 5, 11, 14);
			Block[32].add(player6[32]);
			
			player6[33] = new JLabel("");
			player6[33].setVisible(false);
			player6[33].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[33].setBounds(53, 5, 11, 14);
			Block[33].add(player6[33]);
			
			player6[34] = new JLabel("");
			player6[34].setVisible(false);
			player6[34].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[34].setBounds(53, 5, 11, 14);
			Block[34].add(player6[34]);
			
			player6[35] = new JLabel("");
			player6[35].setVisible(false);
			player6[35].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[35].setBounds(53, 5, 11, 14);
			Block[35].add(player6[35]);
			
			player6[36] = new JLabel("");
			player6[36].setVisible(false);
			player6[36].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[36].setBounds(53, 5, 11, 14);
			Block[36].add(player6[36]);
			
			player6[37] = new JLabel("");
			player6[37].setVisible(false);
			player6[37].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[37].setBounds(53, 5, 11, 14);
			Block[37].add(player6[37]);
			
			player6[38] = new JLabel("");
			player6[38].setVisible(false);
			player6[38].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[38].setBounds(53, 5, 11, 14);
			Block[38].add(player6[38]);
			
			player6[39] = new JLabel("");
			player6[39].setVisible(false);
			player6[39].setBounds(53, 5, 11, 14);
			player6[39].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			Block[39].add(player6[39]);
			
			player6[40] = new JLabel("");
			player6[40].setVisible(false);
			player6[40].setIcon(new ImageIcon(getClass().getResource(this.pl[6].getIcon())));
			player6[40].setBounds(52, 11, 11, 14);
			Block[40].add(player6[40]);
			break;
			
		case 7:
			player7[0] = new JLabel("");
			player7[0].setVisible(true);
			player7[0].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[0].setBounds(53, 26, 11, 14);
			Block[0].add(player7[0]);

			player7[1] = new JLabel("");
			player7[1].setVisible(false);
			player7[1].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[1].setBounds(0, 51, 11, 14);
			Block[1].add(player7[1]);

			player7[2] = new JLabel("");
			player7[2].setVisible(false);
			player7[2].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[2].setBounds(0, 51, 11, 14);
			Block[2].add(player7[2]);

			player7[3] = new JLabel("");
			player7[3].setVisible(false);
			player7[3].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[3].setBounds(0, 51, 11, 14);
			Block[3].add(player7[3]);

			player7[4] = new JLabel("");
			player7[4].setVisible(false);
			player7[4].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[4].setBounds(0, 51, 11, 14);
			Block[4].add(player7[4]);

			player7[5] = new JLabel("");
			player7[5].setVisible(false);
			player7[5].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[5].setBounds(0, 51, 11, 14);
			Block[5].add(player7[5]);

			player7[6] = new JLabel("");
			player7[6].setVisible(false);
			player7[6].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[6].setBounds(0, 51, 11, 14);
			Block[6].add(player7[6]);

			player7[7] = new JLabel("");
			player7[7].setVisible(false);
			player7[7].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[7].setBounds(0, 51, 11, 14);
			Block[7].add(player7[7]);
			
			player7[8] = new JLabel("");
			player7[8].setVisible(false);
			player7[8].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[8].setBounds(0, 51, 11, 14);
			Block[8].add(player7[8]);

			player7[9] = new JLabel("");
			player7[9].setVisible(false);
			player7[9].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[9].setBounds(0, 51, 11, 14);
			Block[9].add(player7[9]);

			player7[10] = new JLabel("");
			player7[10].setVisible(false);
			player7[10].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[10].setBounds(0, 51, 11, 14);
			Block[10].add(player7[10]);

			player7[11] = new JLabel("");
			player7[11].setVisible(false);
			player7[11].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[11].setBounds(10, -6, 11, 14);
			Block[11].add(player7[11]);

			player7[12] = new JLabel("");
			player7[12].setVisible(false);
			player7[12].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[12].setBounds(10, -6, 11, 14);
			Block[12].add(player7[12]);
			
			player7[13] = new JLabel("");
			player7[13].setVisible(false);
			player7[13].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[13].setBounds(10, -6, 11, 14);
			Block[13].add(player7[13]);
			
			player7[14] = new JLabel("");
			player7[14].setVisible(false);
			player7[14].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[14].setBounds(10, -6, 11, 14);
			Block[14].add(player7[14]);
			
			player7[15] = new JLabel("");
			player7[15].setVisible(false);
			player7[15].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[15].setBounds(10, -6, 11, 14);
			Block[15].add(player7[15]);
			
			player7[16] = new JLabel("");
			player7[16].setVisible(false);
			player7[16].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[16].setBounds(10, -6, 11, 14);
			Block[16].add(player7[16]);
			
			player7[17] = new JLabel("");
			player7[17].setVisible(false);
			player7[17].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[17].setBounds(10, -6, 11, 14);
			Block[17].add(player7[17]);
			
			player7[18] = new JLabel("");
			player7[18].setVisible(false);
			player7[18].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[18].setBounds(10, -6, 11, 14);
			Block[18].add(player7[18]);
			
			player7[19] = new JLabel("");
			player7[19].setVisible(false);
			player7[19].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[19].setBounds(10, -6, 11, 14);
			Block[19].add(player7[19]);
			
			player7[20] = new JLabel("");
			player7[20].setVisible(false);
			player7[20].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[20].setBounds(31, 14, 11, 14);
			Block[20].add(player7[20]);
			
			player7[21] = new JLabel("");
			player7[21].setVisible(false);
			player7[21].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[21].setBounds(35, 14, 11, 14);
			Block[21].add(player7[21]);
			
			player7[22] = new JLabel("");
			player7[22].setVisible(false);
			player7[22].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[22].setBounds(31, 14, 11, 14);
			Block[22].add(player7[22]);
			
			player7[23] = new JLabel("");
			player7[23].setVisible(false);
			player7[23].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[23].setBounds(31, 11, 11, 14);
			Block[23].add(player7[23]);
			
			player7[24] = new JLabel("");
			player7[24].setVisible(false);
			player7[24].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[24].setBounds(31, 14, 11, 14);
			Block[24].add(player7[24]);
			
			player7[25] = new JLabel("");
			player7[25].setVisible(false);
			player7[25].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[25].setBounds(31, 14, 11, 14);
			Block[25].add(player7[25]);
			
			player7[26] = new JLabel("");
			player7[26].setVisible(false);
			player7[26].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[26].setBounds(31, 14, 11, 14);
			Block[26].add(player7[26]);
			
			player7[27] = new JLabel("");
			player7[27].setVisible(false);
			player7[27].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[27].setBounds(35, 11, 11, 14);
			Block[27].add(player7[27]);
			
			player7[28] = new JLabel("");
			player7[28].setVisible(false);
			player7[28].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[28].setBounds(31, 14, 11, 14);
			Block[28].add(player7[28]);
			
			player7[29] = new JLabel("");
			player7[29].setVisible(false);
			player7[29].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[29].setBounds(35, 11, 11, 14);
			Block[29].add(player7[29]);
			
			player7[30] = new JLabel("");
			player7[30].setVisible(false);
			player7[30].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[30].setBounds(63, 14, 11, 14);
			Block[30].add(player7[30]);
			
			player7[31] = new JLabel("");
			player7[31].setVisible(false);
			player7[31].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[31].setBounds(53, -6, 11, 14);
			Block[31].add(player7[31]);
			
			player7[32] = new JLabel("");
			player7[32].setVisible(false);
			player7[32].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[32].setBounds(53, -6, 11, 14);
			Block[32].add(player7[32]);
			
			player7[33] = new JLabel("");
			player7[33].setVisible(false);
			player7[33].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[33].setBounds(53, -6, 11, 14);
			Block[33].add(player7[33]);
			
			player7[34] = new JLabel("");
			player7[34].setVisible(false);
			player7[34].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[34].setBounds(53, -6, 11, 14);
			Block[34].add(player7[34]);
			
			player7[35] = new JLabel("");
			player7[35].setVisible(false);
			player7[35].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[35].setBounds(53, -6, 11, 14);
			Block[35].add(player7[35]);
			
			player7[36] = new JLabel("");
			player7[36].setVisible(false);
			player7[36].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[36].setBounds(53, -6, 11, 14);
			Block[36].add(player7[36]);
			
			player7[37] = new JLabel("");
			player7[37].setVisible(false);
			player7[37].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[37].setBounds(53, -6, 11, 14);
			Block[37].add(player7[37]);
			
			player7[38] = new JLabel("");
			player7[38].setVisible(false);
			player7[38].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[38].setBounds(53, -6, 11, 14);
			Block[38].add(player7[38]);
			
			player7[39] = new JLabel("");
			player7[39].setVisible(false);
			player7[39].setBounds(53, -6, 11, 14);
			player7[39].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			Block[39].add(player7[39]);
			
			player7[40] = new JLabel("");
			player7[40].setIcon(new ImageIcon(getClass().getResource(this.pl[7].getIcon())));
			player7[40].setBounds(52, 0, 12, 14);
			player7[40].setVisible(false);
			Block[40].add(player7[40]);		
			break;
		}
	}
	
	public void nextPlayer(){
		
		if(this.getPlayerQueue()<pl.length-1){
			
			setPlayerQueue(getPlayerQueue() + 1);

		}else{
			setPlayerQueue(0);
		}
	}
	
	public void setCurrentPlayer(){
		this.currentPlayer = pl[getPlayerQueue()];
	}
	
	public void movePlayerToken(){
		if(getPlayerQueue() == 0){
			if(this.currentPlayer == this.pl[0]) {
				if(this.currentPlayer.getCurrentPosition()==0){
					this.player0[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else{
					System.out.println(this.currentPlayer.getCurrentPosition()); //to check if there is an error by: brent
					this.player0[this.currentPlayer.getCurrentPosition()].setVisible(true);
					this.player0[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
				}
			}
			else if(this.currentPlayer == this.pl[1]) {
				if(this.currentPlayer.getCurrentPosition()==0){
					this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else{
					System.out.println(this.currentPlayer.getCurrentPosition()); //to check if there is an error by: brent
					this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
				}
			}
			else if(this.currentPlayer == this.pl[2]) {
				if(this.currentPlayer.getCurrentPosition()==0){
					this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else{
					System.out.println(this.currentPlayer.getCurrentPosition()); //to check if there is an error by: brent
					this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
				}
			}
			else if(this.currentPlayer == this.pl[3]) {
				if(this.currentPlayer.getCurrentPosition()==0){
					this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else{
					System.out.println(this.currentPlayer.getCurrentPosition()); //to check if there is an error by: brent
					this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
				}
			}
			else if(this.currentPlayer == this.pl[4]) {
				if(this.currentPlayer.getCurrentPosition()==0){
					this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else{
					System.out.println(this.currentPlayer.getCurrentPosition()); //to check if there is an error by: brent
					this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
				}
			}
			else if(this.currentPlayer == this.pl[5]) {
				if(this.currentPlayer.getCurrentPosition()==0){
					this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else{
					System.out.println(this.currentPlayer.getCurrentPosition()); //to check if there is an error by: brent
					this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
				}
			}
			else if(this.currentPlayer == this.pl[6]) {
				if(this.currentPlayer.getCurrentPosition()==0){
					this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else{
					System.out.println(this.currentPlayer.getCurrentPosition()); //to check if there is an error by: brent
					this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
				}
			}
			else if(this.currentPlayer == this.pl[7]) {
				if(this.currentPlayer.getCurrentPosition()==0){
					this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else{
					System.out.println(this.currentPlayer.getCurrentPosition()); //to check if there is an error by: brent
					this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
				}
			}
		}else if(getPlayerQueue() == 1){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 2){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 3){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 4){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 5){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 6){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 7){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 8){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 9){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 10){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 11){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 12){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 13){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player1[39].setVisible(false);
				else
					this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player2[39].setVisible(false);
				else
					this.player2[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player3[39].setVisible(false);
				else
					this.player3[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player4[39].setVisible(false);
				else
					this.player4[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player5[39].setVisible(false);
				else
					this.player5[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player6[39].setVisible(false);
				else
					this.player6[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				if(currentPlayer.getCurrentPosition()-1== -1)
					this.player7[39].setVisible(false);
				else
					this.player7[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
		}else if(getPlayerQueue() == 14){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 15){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 16){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 17){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 18){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 19){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 20){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 21){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 22){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 23){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 24){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 25){
			this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
			this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 26){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 27){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 28){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 29){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 30){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 31){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 32){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 33){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 34){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 35){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 36){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 37){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 38){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 39){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 1].setVisible(false);
			}
		}else if(getPlayerQueue() == 40){
			if(this.currentPlayer==this.pl[1]) {
				this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player1[this.currentPlayer.getCurrentPosition()-10].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[2]) {
				this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player2[this.currentPlayer.getCurrentPosition() - 10].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[3]) {
				this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player3[this.currentPlayer.getCurrentPosition() - 10].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[4]) {
				this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player4[this.currentPlayer.getCurrentPosition() - 10].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[5]) {
				this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player5[this.currentPlayer.getCurrentPosition() - 10].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[6]) {
				this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player6[this.currentPlayer.getCurrentPosition() - 10].setVisible(false);
			}
			else if(this.currentPlayer==this.pl[7]) {
				this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				this.player7[this.currentPlayer.getCurrentPosition() - 10].setVisible(false);
			}	
		}
	}
	
	public diceUI getDiceUI(){
		return this.d;
	}
	
	public GamebuttonUi getGameButtonUI(){
		return this.g;
	}
	
	public playerPanelUi getPlayerPanelUI(){
		return this.p;	
	}
	
	public JailUI getInJailUI(){
		return this.jail;
	}
	
	public GoToJailUI getGoToJailUI(){
		return this.gotojail;
	}
	
	public void displayBlock(){
		if(this.bl[currentPlayer.getCurrentPosition()] instanceof Property){
		    prop = new PropertyUI(this.currentPlayer, (Property) bl[this.currentPlayer.getCurrentPosition()], this.bl, this);
			
			contentPane.add(prop);
			prop.setVisible(true);
			prop.setBounds(714,0,300,200);
			
		}else if(this.bl[currentPlayer.getCurrentPosition()] instanceof Rail){
			rail = new RailUI(this.currentPlayer, (Rail) bl[this.currentPlayer.getCurrentPosition()],this.bl, this);	
			
			contentPane.add(rail);
			rail.setVisible(true);
			rail.setBounds(746,0,300,200);
			
		}else if(this.bl[currentPlayer.getCurrentPosition()] instanceof Tax){
			tax = new TaxUI(this.currentPlayer, (Tax) bl[this.currentPlayer.getCurrentPosition()],this.bl, this);	
			
			contentPane.add(tax);
			tax.setVisible(true);
			tax.setBounds(746,0,300,200);
			
		}else if(this.bl[currentPlayer.getCurrentPosition()] instanceof GoToJail){
			gotojail = new GoToJailUI(this.currentPlayer, (GoToJail) bl[this.currentPlayer.getCurrentPosition()], this);	
			
			contentPane.add(gotojail);
			gotojail.setVisible(true);
			gotojail.setBounds(746,0,300,200);
			
		}else if(this.bl[currentPlayer.getCurrentPosition()] instanceof InJail){
			jail = new JailUI(this.currentPlayer, (InJail) bl[this.currentPlayer.getCurrentPosition()], this);
			contentPane.add(jail);
			jail.setVisible(true);
			jail.setBounds(746,0,280,200);
			
		}else if(this.bl[currentPlayer.getCurrentPosition()] instanceof Go){
			go = new GoUI(this.currentPlayer, (Go) bl[this.currentPlayer.getCurrentPosition()], this);
			
			contentPane.add(go);
			go.setVisible(true);
			go.setBounds(746,0,300,200);
			
		}else if(this.bl[currentPlayer.getCurrentPosition()] instanceof JustVisiting){
			justvisiting = new JustVisitingUI(this.currentPlayer, (JustVisiting) bl[this.currentPlayer.getCurrentPosition()], this);	
			
			contentPane.add(justvisiting);
			justvisiting.setVisible(true);
			justvisiting.setBounds(746,0,300,200);
			
		}else if(this.bl[currentPlayer.getCurrentPosition()] instanceof Utility){
			utility = new UtilityUI(this.currentPlayer, (Utility) bl[this.currentPlayer.getCurrentPosition()], this.bl, this);	
			
			contentPane.add(utility);
			utility.setVisible(true);
			utility.setBounds(746,0,300,200);
			
		}else if(this.bl[currentPlayer.getCurrentPosition()] instanceof FreeParking){
			freeparking = new FreeParkingUI(this.currentPlayer, (FreeParking) bl[this.currentPlayer.getCurrentPosition()], this);	
			
			contentPane.add(freeparking);
			freeparking.setVisible(true);
			freeparking.setBounds(746,0,300,200);
			
		}else if(this.bl[currentPlayer.getCurrentPosition()] instanceof Chance){
			chance = new ChanceUI(this.currentPlayer, (Chance) bl[this.currentPlayer.getCurrentPosition()], this, pl, this.bl);	
			
			contentPane.add(chance);
			chance.setVisible(true);
			chance.setBounds(746,0,300,200);
			
		}else if(this.bl[currentPlayer.getCurrentPosition()] instanceof CommunityChest){
			communitychest = new CommunityChestUI(this.currentPlayer, (CommunityChest) bl[this.currentPlayer.getCurrentPosition()], this, this.bl);	
			
			contentPane.add(communitychest);
			communitychest.setVisible(true);
			communitychest.setBounds(746,0,300,200);
		}
	} 
	
	public void moveEvent(){
		if(this.currentPlayer.getCurrentPosition() == 39){
		 if(this.currentPlayer ==this.pl[0]) {
			  this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-39);
			  this.player0[39].setVisible(false);
			  movePlayerToken();
		  }else if(this.pl[1] == currentPlayer) {
			  this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-39);
			  this.player1[39].setVisible(false);
			  movePlayerToken();
		  }else if (this.currentPlayer==this.pl[2]) {
			  this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-39);
			  this.player2[39].setVisible(false);
			  movePlayerToken();
		  }else if (this.currentPlayer==this.pl[3]) {
			  this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-39);
			  this.player3[39].setVisible(false);
			  movePlayerToken();
		  }else if (this.currentPlayer==this.pl[4]) {
			  this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-39);
			  this.player4[39].setVisible(false);
			  movePlayerToken();
		  }else if (this.currentPlayer==this.pl[5]) {
			  this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-39);
			  this.player5[39].setVisible(false);
			  movePlayerToken();
		  }else if (this.currentPlayer==this.pl[6]) {
			  this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-39);
			  this.player6[39].setVisible(false);
			  movePlayerToken();
		  }else if (this.currentPlayer==this.pl[7]) {
			  this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-39);
			  this.player7[39].setVisible(false);
			  movePlayerToken();
		  }
		}else{
			
			if(this.currentPlayer.isLandedOnChance()==false){
				this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()+1);
				movePlayerToken();	
			}else{
				if(this.currentPlayer==this.pl[0]){
					this.player0[this.currentPlayer.getCurrentPosition()].setVisible(false);
					this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-1);
					this.player0[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else if(this.currentPlayer==this.pl[1]){
					this.player1[this.currentPlayer.getCurrentPosition()].setVisible(false);
					this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-1);
					this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else if(this.currentPlayer==this.pl[2]){
					this.player2[this.currentPlayer.getCurrentPosition()].setVisible(false);
					this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-1);
					this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else if(this.currentPlayer==this.pl[3]){
					this.player3[this.currentPlayer.getCurrentPosition()].setVisible(false);
					this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-1);
					this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else if(this.currentPlayer==this.pl[4]){
					this.player4[this.currentPlayer.getCurrentPosition()].setVisible(false);
					this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-1);
					this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else if(this.currentPlayer==this.pl[5]){
					this.player5[this.currentPlayer.getCurrentPosition()].setVisible(false);
					this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-1);
					this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else if(this.currentPlayer==this.pl[6]){
					this.player6[this.currentPlayer.getCurrentPosition()].setVisible(false);
					this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-1);
					this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}else if(this.currentPlayer==this.pl[7]){
					this.player7[this.currentPlayer.getCurrentPosition()].setVisible(false);
					this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()-1);
					this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				}
			}
	}
		
}
	
	public void MoveOutOfJail(){

		this.currentPlayer.setInJail(false);
		
		if(this.currentPlayer ==this.pl[0]) {
			  this.player0[this.currentPlayer.getCurrentPosition()].setVisible(false);
			  this.currentPlayer.setCurrentPosition(10);
			  this.player0[this.currentPlayer.getCurrentPosition()].setVisible(true);	
		  }else if(this.pl[1] == currentPlayer) {
			  this.player1[this.currentPlayer.getCurrentPosition()].setVisible(false);
			  this.currentPlayer.setCurrentPosition(10);
			  this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);	
		  }else if (this.currentPlayer==this.pl[2]) {
			  this.player2[this.currentPlayer.getCurrentPosition()].setVisible(false);
			  this.currentPlayer.setCurrentPosition(10);
			  this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
		  }else if (this.currentPlayer==this.pl[3]) {
			  this.player3[this.currentPlayer.getCurrentPosition()].setVisible(false);
			  this.currentPlayer.setCurrentPosition(10);
			  this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
		  }else if (this.currentPlayer==this.pl[4]) {
			  this.player4[this.currentPlayer.getCurrentPosition()].setVisible(false);
			  this.currentPlayer.setCurrentPosition(10);
			  this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
		  }else if (this.currentPlayer==this.pl[5]) {
			  this.player5[this.currentPlayer.getCurrentPosition()].setVisible(false);
			  this.currentPlayer.setCurrentPosition(10);
			  this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
		  }else if (this.currentPlayer==this.pl[6]) {
			  this.player6[this.currentPlayer.getCurrentPosition()].setVisible(false);
			  this.currentPlayer.setCurrentPosition(10);
			  this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
		  }else if (this.currentPlayer==this.pl[7]) {
			  this.player7[this.currentPlayer.getCurrentPosition()].setVisible(false);
			  this.currentPlayer.setCurrentPosition(10);
			  this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
		  }else{
				this.currentPlayer.setCurrentPosition(this.currentPlayer.getCurrentPosition()+1);
				movePlayerToken();	
		  }
	}
	
	public void goingToJail(){
			 if(this.currentPlayer ==this.pl[0]) {
				  this.player0[this.currentPlayer.getCurrentPosition()].setVisible(false);
				  this.currentPlayer.setCurrentPosition(40);
				  this.player0[this.currentPlayer.getCurrentPosition()].setVisible(true);
				  this.currentPlayer.setInJail(true);
				  
			  }else if(this.pl[1] == currentPlayer) {
				  this.player1[this.currentPlayer.getCurrentPosition()].setVisible(false);
				  this.currentPlayer.setCurrentPosition(40);
				  this.player1[this.currentPlayer.getCurrentPosition()].setVisible(true);
				  this.currentPlayer.setInJail(true);

			  }else if (this.currentPlayer==this.pl[2]) {
				  this.player2[this.currentPlayer.getCurrentPosition()].setVisible(false);
				  this.currentPlayer.setCurrentPosition(40);
				  this.player2[this.currentPlayer.getCurrentPosition()].setVisible(true);
				  this.currentPlayer.setInJail(true);

			  }else if (this.currentPlayer==this.pl[3]) {
				  this.player3[this.currentPlayer.getCurrentPosition()].setVisible(false);
				  this.currentPlayer.setCurrentPosition(40);
				  this.player3[this.currentPlayer.getCurrentPosition()].setVisible(true);
				  this.currentPlayer.setInJail(true);

			  }else if (this.currentPlayer==this.pl[4]) {
				  this.player4[this.currentPlayer.getCurrentPosition()].setVisible(false);
				  this.currentPlayer.setCurrentPosition(40);
				  this.player4[this.currentPlayer.getCurrentPosition()].setVisible(true);
				  this.currentPlayer.setInJail(true);
  
			  }else if (this.currentPlayer==this.pl[5]) {
				  this.player5[this.currentPlayer.getCurrentPosition()].setVisible(false);
				  this.currentPlayer.setCurrentPosition(40);
				  this.player5[this.currentPlayer.getCurrentPosition()].setVisible(true);
				  this.currentPlayer.setInJail(true);

			  }else if (this.currentPlayer==this.pl[6]) {
				  this.player6[this.currentPlayer.getCurrentPosition()].setVisible(false);
				  this.currentPlayer.setCurrentPosition(40);
				  this.player6[this.currentPlayer.getCurrentPosition()].setVisible(true);
				  this.currentPlayer.setInJail(true);
				  
			  }else if (this.currentPlayer==this.pl[7]) {
				  this.player7[this.currentPlayer.getCurrentPosition()].setVisible(false);
				  this.currentPlayer.setCurrentPosition(40);
				  this.player7[this.currentPlayer.getCurrentPosition()].setVisible(true);
				  this.currentPlayer.setInJail(true);
			  }
	}
	
	public void setPlayerQueue(int playerQueue) {
		this.playerQueue = playerQueue;
	}

	public Player getCurrentPlayer(){

		return this.currentPlayer;
	}
	
	public int getPlayerQueue() {
		return playerQueue;
	}
	
	public void moveToken(int lastRoll){
		this.currentPlayer.setLastRoll(lastRoll);
		
		StirClass gc  = new StirClass(this.currentPlayer.getLastRoll());
		this.stir = new Timer(500,gc);
		
		this.stir.start();
	}

	private class StirClass implements ActionListener {
		 
		int count = 0;
		
		public StirClass(int lmt){
			limit = lmt;
		}
		
		public void actionPerformed(ActionEvent gc){
			if(this.count<limit){
					moveEvent();
				this.count++;
				//add 200 passing go
					if(currentPlayer.currentPosition==39 && count<limit){
						currentPlayer.addMoney(200);
						setCurrentPlayer();
						getPlayerPanelUI().updatePlayerMoney(); 
					}
				}
			else{
				stir.stop();
				displayBlock();
				
				if(currentPlayer.isLandedOnChance()==true){
					currentPlayer.setLandedOnChance(false);
				}
				
				//if player landed on go to jail block
				if(currentPlayer.currentPosition==30){
					goingToJail();
					JOptionPane.showMessageDialog(null,"Nasa Jail Ka Na =( ");
					getGoToJailUI().visibility();
					getGameButtonUI().enableEndTurnBtn();
				}
				// If its double but location is in chance or community
				if(currentPlayer.getCurrentPosition()== 2|| currentPlayer.getCurrentPosition()== 17||currentPlayer.getCurrentPosition()== 33||currentPlayer.getCurrentPosition()== 7||currentPlayer.getCurrentPosition()== 22||currentPlayer.getCurrentPosition()== 36){
					getDiceUI().disableRollBtn(); //so they draw cards first.. 
				}	
			}
	}
}
	}
